package com.so206.service;

import com.github.pagehelper.PageInfo;
import com.so206.po.AlipayTradeConfig;
import com.so206.po.AlipayTradeRecord;

public interface AlipayTradeServices {

    AlipayTradeConfig getconfig(Long id);

    void update_config(AlipayTradeConfig config);

    PageInfo<AlipayTradeRecord> find_record_by_page(Integer page, Integer rows, Integer status, String tr_name, String tr_account, String sid);

    AlipayTradeRecord find_record_by_id(Long id);

    Long save_record(AlipayTradeRecord record);

    void update_record(AlipayTradeRecord record);

    void delete_record_by_id(Long id);

}
